package com.avecsys.quotemanager.pojos.menu;

import java.util.ArrayList;
import java.util.List;

import com.avecsys.quotemanager.pojos.BasePojo;

/**
 * RootMenuEntity entity.
 * 
 * @author MyEclipse Persistence Tools
 */

/**
 * @author sam sundar K
 */
public class RootMenuEntity extends BasePojo implements java.io.Serializable
{

	// Fields

	private Long rootMenuId;

	private String rootMenuName;

	private String rootMenuDescription;

	private Long rootMenuOrder;

	private String linkPath;

	private String rootMenuRole;

	private List<SubMenuEntity> subMenuEntityList = new ArrayList<SubMenuEntity>();

	/** default constructor */

	public RootMenuEntity()
	{}

	public RootMenuEntity(String rootMenuName, String rootMenuDescription, String rootMenuRole,
			Long rootMenuOrder)
	{
		super();
		this.rootMenuName = rootMenuName;
		this.rootMenuDescription = rootMenuDescription;
		this.rootMenuRole = rootMenuRole;
		this.rootMenuOrder = rootMenuOrder;
	}

	/**
	 * @return the linkPath
	 */
	public String getLinkPath()
	{
		return linkPath;
	}

	@Override
	public String getPkColumnName()
	{
		return "rootMenuId";
	}

	public String getRootMenuDescription()
	{
		return rootMenuDescription;
	}

	/**
	 * @return Long
	 */
	public Long getRootMenuId()
	{
		return this.rootMenuId;
	}

	/**
	 * @return String
	 */
	public String getRootMenuName()
	{
		return this.rootMenuName;
	}

	// Constructors

	/**
	 * @return Long
	 */
	public Long getRootMenuOrder()
	{
		return this.rootMenuOrder;
	}

	public String getRootMenuRole()
	{
		return rootMenuRole;
	}

	/**
	 * @return the subMenuEntityList
	 */
	public List<SubMenuEntity> getSubMenuEntityList()
	{
		return subMenuEntityList;
	}

	// Property accessors

	@Override
	public boolean isPersisted()
	{
		return false;
	}

	/**
	 * @param linkPath the linkPath to set
	 */
	public void setLinkPath(String linkPath)
	{
		this.linkPath = linkPath;
	}

	public void setRootMenuDescription(String rootMenuDescription)
	{
		this.rootMenuDescription = rootMenuDescription;
	}

	/**
	 * @param rootMenuId
	 */
	public void setRootMenuId(Long rootMenuId)
	{
		this.rootMenuId = rootMenuId;
	}

	/**
	 * @param rootMenuName
	 */
	public void setRootMenuName(String rootMenuName)
	{
		this.rootMenuName = rootMenuName;
	}

	/**
	 * @param rootMenuOrder
	 */
	public void setRootMenuOrder(Long rootMenuOrder)
	{
		this.rootMenuOrder = rootMenuOrder;
	}

	public void setRootMenuRole(String rootMenuRole)
	{
		this.rootMenuRole = rootMenuRole;
	}

	/**
	 * @param subMenuEntityList the subMenuEntityList to set
	 */
	public void setSubMenuEntityList(List<SubMenuEntity> subMenuEntityList)
	{
		this.subMenuEntityList = subMenuEntityList;
	}

}